package comtwo;

import comone.javatwo.User;

import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Vector;

public class Demo5 {
    public static void main(String[] args) {
        List<User> list = new ArrayList<User>();
        List<User> users = Collections.synchronizedList(list);
        users.add(new User());
      /*  List list = new Vector();
        list.add(5);*/
    }
}
